package com.black.utils.token;

import com.black.utils.encrypt.sm4.SM4Util;

import static com.black.utils.random.RandomUtil.generateUUID;


public class TokenUtil {

    public static String makeToken(String info) {
        String token = info + generateUUID();
        return SM4Util.encryptData_CBC(token) + System.currentTimeMillis();
    }
}
